package com.cskaoyan.service;


import com.cskaoyan.bean.PO.MarketTopic;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;

import java.util.List;
import java.util.Map;

public interface WxTopicService {

    CommonData<MarketTopic> list(BasePageInfo basePageInfo, String title, String subtitle);

    Map<String, Object> read(Integer id);

    int update(MarketTopic topic);

    int delete(MarketTopic topic);

    int batchDelete(Map<String, List<Integer>> map);

    CommonData<MarketTopic> related(Integer id);
}
